package cn.edu.buu.news.service;

import cn.edu.buu.news.entity.LearningPath;
import cn.edu.buu.news.vo.PageQuery;
import cn.edu.buu.news.vo.PageResult;

import java.util.List;

public interface LearningPathService {
    void add(LearningPath learningPath);
    void deleteById(Long id);
    void update(LearningPath learningPath);
    LearningPath findById(Long id);
    List<LearningPath> findAll();
    PageResult<LearningPath> findByPage(PageQuery query);
}